/*
 ***************************************************************************
 * MediaTeK Inc.
 * 4F, No. 2 Technology	5th	Rd.
 * Science-based Industrial	Park
 * Hsin-chu, Taiwan, R.O.C.
 *
 * (c) Copyright 2002-2012, MTK.
 *
 * All rights reserved.	MediaTeK's source	code is	an unpublished work	and	the
 * use of a	copyright notice does not imply	otherwise. This	source code
 * contains	confidential trade secret material of MediaTeK Tech. Any attemp
 * or participation	in deciphering,	decoding, reverse engineering or in	any
 * way altering	the	source code	is stricitly prohibited, unless	the	prior
 * written consent of MediaTeK, Inc. is obtained.
 ***************************************************************************

	Module Name:
	omci_me_ethernet_services.h

	Abstract:

	Revision History:
	Who			When			What
	--------	----------		----------------------------------------------
	Name		Date			Modification logs
	lisa.xue	2012/7/28	Create
*/

#ifndef _ETHERNET_SERVICES_ME_H_
#define _ETHERNET_SERVICES_ME_H_

int omci_me_eth_pm_history_notify(pm_history_data_list_ptr pm_list, omci_me_info_t threshold_info);
int omci_me_eth2_pm_history_notify(pm_history_data_list_ptr pm_list, omci_me_info_t threshold_info);
int omci_me_eth3_pm_history_notify(pm_history_data_list_ptr pm_list, omci_me_info_t threshold_info);


int get_eth_pm_history_data(pm_history_data_list_ptr pm_list, uint8_t syncFlag);
int get_eth2_pm_history_data(pm_history_data_list_ptr pm_list, uint8_t syncFlag);
int get_eth3_pm_history_data(pm_history_data_list_ptr pm_list, uint8_t syncFlag);


extern omci_me_func_t omci_me_pptp_eth_uni_op;
extern omci_attr_dscp_t omci_attr_pptp_eth_uni_op[];
extern omci_attr_t omci_pptp_eth_uni_attr;

extern omci_me_func_t omci_me_eth_pm_his_op;
extern omci_attr_dscp_t omci_attr_eth_pm_his_op[];
extern omci_attr_t omci_eth_pm_his_attr;

extern omci_me_func_t omci_me_eth_pm_his_2_op;
extern omci_attr_dscp_t omci_attr_eth_pm_his_2_op[];
extern omci_attr_t omci_eth_pm_his_2_attr;

extern omci_me_func_t omci_me_eth_pm_his_3_op;
extern omci_attr_dscp_t omci_attr_eth_pm_his_3_op[];
extern omci_attr_t omci_eth_pm_his_3_attr;

extern omci_me_func_t omci_me_veip_op;
extern omci_attr_dscp_t omci_attr_veip_op[];
extern omci_attr_t omci_veip_attr;

extern omci_me_func_t omci_me_eth_pm_his_4_op;
extern omci_attr_dscp_t omci_attr_eth_pm_his_4_op[];
extern omci_attr_t omci_eth_pm_his_4_attr;

#define ETHERNET_PM4_BIT_PPTP	0
#define ETHERNET_PM4_BIT_GEMPort    1
#define GDMA_LAN_PART 0
#define GDMA_WAN_PART 1
#define OMCI_ETH_PM_HISTORY_DATA4_ASSOCIATION_TYPE_0		0 //physical path termination point ethernet UNI
#define OMCI_ETH_PM_HISTORY_DATA4_ASSOCIATION_TYPE_1		1 //Access network interface
#endif

